package com.itheima.Junit;

public class UserService {
    public String loginName(String loginName,String passWord) {
        if ("admin".equals(loginName) && "12345".equals(passWord)) {
            return "登录成功";
        } else {
            return "错误";
        }
    }

    public void selectName(){
        System.out.println(10/0);
    }

}

